﻿namespace WMS6.Web.AnalyticsReportService2Ref
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="LoadingRptQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
    public class LoadingRptQueryEntity : BaseQuery
    {
        [OptionalField]
        private string BeginDateField;
        [OptionalField]
        private string BolIDField;
        [OptionalField]
        private string CarrierIDField;
        [OptionalField]
        private string EndDateField;
        [OptionalField]
        private string ExternOrderId2Field;
        [OptionalField]
        private string ExternOrderIDField;
        [OptionalField]
        private string OwnerIDField;
        [OptionalField]
        private string PaidField;
        [OptionalField]
        private string StatusField;

        [DataMember]
        public string BeginDate
        {
            get
            {
                return this.BeginDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.BeginDateField, value))
                {
                    this.BeginDateField = value;
                    base.RaisePropertyChanged("BeginDate");
                }
            }
        }

        [DataMember]
        public string BolID
        {
            get
            {
                return this.BolIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.BolIDField, value))
                {
                    this.BolIDField = value;
                    base.RaisePropertyChanged("BolID");
                }
            }
        }

        [DataMember]
        public string CarrierID
        {
            get
            {
                return this.CarrierIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierIDField, value))
                {
                    this.CarrierIDField = value;
                    base.RaisePropertyChanged("CarrierID");
                }
            }
        }

        [DataMember]
        public string EndDate
        {
            get
            {
                return this.EndDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.EndDateField, value))
                {
                    this.EndDateField = value;
                    base.RaisePropertyChanged("EndDate");
                }
            }
        }

        [DataMember]
        public string ExternOrderID
        {
            get
            {
                return this.ExternOrderIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExternOrderIDField, value))
                {
                    this.ExternOrderIDField = value;
                    base.RaisePropertyChanged("ExternOrderID");
                }
            }
        }

        [DataMember]
        public string ExternOrderId2
        {
            get
            {
                return this.ExternOrderId2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExternOrderId2Field, value))
                {
                    this.ExternOrderId2Field = value;
                    base.RaisePropertyChanged("ExternOrderId2");
                }
            }
        }

        [DataMember]
        public string OwnerID
        {
            get
            {
                return this.OwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIDField, value))
                {
                    this.OwnerIDField = value;
                    base.RaisePropertyChanged("OwnerID");
                }
            }
        }

        [DataMember]
        public string Paid
        {
            get
            {
                return this.PaidField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PaidField, value))
                {
                    this.PaidField = value;
                    base.RaisePropertyChanged("Paid");
                }
            }
        }

        [DataMember]
        public string Status
        {
            get
            {
                return this.StatusField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatusField, value))
                {
                    this.StatusField = value;
                    base.RaisePropertyChanged("Status");
                }
            }
        }
    }
}

